﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Templates_Person_Default" %>
<%@ Register TagPrefix="uc" TagName="TestamonialsModule" Src="~/Templates/Generic/TestamonialsModule.ascx" %>
<%@ Register TagPrefix="uc" TagName="FeedModule" Src="~/Templates/Generic/FeedModule.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"></asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="centre">
        <h1>Key People</h1>
        <h2><acms:PostDisplayName runat="server" /></h2>
            
            <ul class="peopleHead">
                <li id="liPosition" runat="server"><strong>Position</strong>: <acms:TextContentControlDisplay ID="acmsPosition" ControlName="Position" runat="server" /></li>
                    
                    <asp:Repeater ID="listServices"  runat="server">
                        
                        <HeaderTemplate>
                            <li>
                                <strong>Services</strong> : 
                        </HeaderTemplate>
                        
                        <ItemTemplate><asp:HyperLink ID="lnkService" Text='<%#Eval("Name")%>' CssClass='<%#Eval("Name", "services{0}").Replace(" ", "") %>' NavigateUrl='<%# AcmsContext.GetUrl(Eval("Name", "~/Services/{0}.aspx"))%>' runat="server" /></ItemTemplate>
                        
                        <SeparatorTemplate>, </SeparatorTemplate>
                        
                        <FooterTemplate>
                            </li>
                        </FooterTemplate>
                    </asp:Repeater>
                    
                    <asp:Repeater ID="listSectors" Visible="false"  runat="server">
                        <HeaderTemplate>
                            <li>
                                <strong>Sectors</strong> : 
                        </HeaderTemplate>
                        
                        <ItemTemplate>
                            <asp:HyperLink ID="lnkService" Text='<%#Eval("Name")%>' NavigateUrl='<%# AcmsContext.GetUrl(Eval("Name", "~/Sectors/{0}.aspx"))%>' runat="server" />
                        </ItemTemplate>
                        
                        <SeparatorTemplate>, </SeparatorTemplate>
                        
                        <FooterTemplate>
                            </li>
                        </FooterTemplate>
                        
                    </asp:Repeater>
                    <li id="liDownload1" runat="server">
                        <strong>Download</strong> :
                        <acms:PdfContentControlDisplay ID="acmsDownload1" CssClass="ico_pdf" ControlName="Download 1" runat="server" />
                    </li>
                    <li id="liDownload2" runat="server">
                        <strong>Download</strong> :
                        <acms:PdfContentControlDisplay ID="acmsDownload2" CssClass="ico_pdf" ControlName="Download 2" runat="server" />
                    </li>
            </ul>
        <div class="articleText">
            <acms:HtmlContentControlDisplay ID="acmsMainHtml" ControlName="Formal Text" runat="server" />
            <uc:FeedModule ID="ucLatestNews" Title="Latest News" TitleUrl='<%#AcmsContext.GetUrl("~/News.aspx") %>' AllowPaging="true" PageSize="6" runat="server" />
            <uc:FeedModule ID="ucCases" Title="Cases" TitleUrl='<%#AcmsContext.GetUrl("~/Cases.aspx") %>' runat="server" />
            <div style="clear:both;"></div>
        </div>
    </div>
    
    <div id="rightCol">
        <div class="personRcol">
            <div id="divImage" class="module center" runat="server">
                <acms:ImageContentControlDisplay ID="acmsImage" ControlName="Main Picture" RenderWidth="260" RenderHeight="300" runat="server" />
            </div>
<%--        
            <div class="module">
                <acms:PostLink ID="lnkMore" TemplateName="Informal" Text="More Information" ToolTip="More Information" runat="server" />
            </div>
--%>            
            <div class="module">
                <h3 class="moduleTitle">Contact Information</h3>
                <ul>
                    <li class="ico_vcard">
                        <acms:PostLink ID="PostLink1" TemplateName="VCard" Text="V-Card" ToolTip="V-Card" runat="server" />
                    </li>
                    <li id="liPhone" class="ico_phone" runat="server"><acms:TextContentControlDisplay ID="acmsTel" ControlName="Tel" runat="server" /></li>
                    <li id="liEmail" class="ico_mail" runat="server"><acms:EmailContentControlDisplay ID="acmsEmail" ControlName="Email" runat="server" /></li>
                </ul>
            </div>
            <div style="clear:both"></div>
        </div>
        <uc:TestamonialsModule ID="ucTestamonialModule" runat="server" />
    </div>
</asp:Content>

